package com.orangelife.utils;

import java.util.UUID;

public class IdUtil {

	public static String getuuId() {

		UUID uuid = UUID.randomUUID();

		return uuid.toString();
	}

	public static int getMyRandom() {
		int myRandom = 1;
		int temp;
		do {
			temp = (int) (Math.random() * 1000.0D);
		} while ((temp <= 0) && (temp > 9));

		myRandom = temp;

		return myRandom;
	}

}
